package net.lainiao.mycost.service;

import net.lainiao.mycost.bean.AuditHistory;
import net.lainiao.mycost.bean.ExpenseAccount;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/3/22.
 */
public interface IExpenseService {
    void add(ExpenseAccount account,Integer[] costids,Double[] ExpenseDetailsSmount);
    void update(ExpenseAccount account,Integer[] costIds,Double[] ExpenseDetailsSmount);
    List<ExpenseAccount> list(ExpenseAccount account);
    long getCount(ExpenseAccount account);
    ExpenseAccount getExpenseAccount(ExpenseAccount account);
    List<Map> getExpenseDetailsList(ExpenseAccount account);
    void auditManager(AuditHistory history);
    void auditFinance(AuditHistory history);
    List<Map> getAuditHistoryList(ExpenseAccount account);
    List<ExpenseAccount> getList(ExpenseAccount account);
    long getCountLong(ExpenseAccount account);
}
